#ifndef __STORMWIDGET_STORMWIDGET_UILIBRARY_CLABELPANELUI_LABELPANELUI_H
#define __STORMWIDGET_STORMWIDGET_UILIBRARY_CLABELPANELUI_LABELPANELUI_H

#include "ControlUI.h"

class CLabelPanelUI: public CControlUI
{
public:
	CLabelPanelUI(void);
	virtual ~CLabelPanelUI(void);
	LPCTSTR GetClass() const;

	void SetText(LPCTSTR pstrText);

	void SetWidth(int cxWidth);
	void SetTextStyle(UINT uStyle);

	SIZE EstimateSize(SIZE szAvailable);
	virtual void DoPaint(HDC hDC, const RECT& rcPaint);
	virtual void SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue);

protected:
	int m_cxWidth;
	UINT m_uTextStyle;
	//RECT m_rcItem
};
#endif //__STORMWIDGET_STORMWIDGET_UILIBRARY_CLABELPANELUI_LABELPANELUI_H
